package me.keiwu.admin.service;

import me.keiwu.admin.domain.PosterTemplate;
import org.springframework.data.domain.Page;

/**
 * Created by kei on 02/11/2017.
 */
public interface PosterService {

    Long addTemplate(String title, String desc, String imgSrc, String editData);

    boolean updateTemplate(Long id, String title, String desc, String imgSrc, String editData);

    Page<PosterTemplate> findByPageAndSize(int page, int size);

    PosterTemplate findById(Long id);

}
